package com.zj.healthmanage.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zj.healthmanage.mapper.ReturnvisitrecordMapper;
import com.zj.healthmanage.pojo.Returnvisitrecord;
import com.zj.healthmanage.service.ReturnvisitrecordService;
@Service
public class ReturnvisitrecordServiceImpl implements ReturnvisitrecordService{

    @Resource
    private ReturnvisitrecordMapper returnvisitrecordMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return returnvisitrecordMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Returnvisitrecord record) {
        return returnvisitrecordMapper.insert(record);
    }

    @Override
    public int insertSelective(Returnvisitrecord record) {
        return returnvisitrecordMapper.insertSelective(record);
    }

    @Override
    public Returnvisitrecord selectByPrimaryKey(Integer id) {
        return returnvisitrecordMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Returnvisitrecord record) {
        return returnvisitrecordMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Returnvisitrecord record) {
        return returnvisitrecordMapper.updateByPrimaryKey(record);
    }

}
